<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<?php
    ob_start();
    session_start();
    require("../cons/cons.php");
    require_once 'librarys/funs/class_user.php';
    $t= new tin();
    $lang='vi';
    $view='';
    $id=0;
    if(isset ($_GET['view'])) $view=$_GET['view'];
    if(isset ($_GET['id'])) $id=$_GET['id'];
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title>Trang chủ Hoa</title>
        <meta name="description" content="" />
        <meta name="keywords" content="" />
        <meta name="copyright" content="HAK"/>
        <link href="<?php echo $rootURL; ?>webhoa/css/style.css" rel="stylesheet" type="text/css" />
        <link href="jquery-ui-1.7.3.custom.css" rel="stylesheet" type="text/css" />
        <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
        <script type="text/javascript" src="js/jquery.validate.js" ></script>
        <script type="text/javascript" src="js/ui.core.js" ></script>
        <script type="text/javascript" src="js/ui.datepicker.js" ></script>
        <script>
            $(document).ready(function() {
                $(".order").click(function (){
                    var idSP = $(this).attr("idsp");
                    var param = 'action=add<?=$lang?>&idSP='+idSP;
                    $.ajax({
			type:"GET",
			url:'taosession.php',
			cache:false,
			data:"action=add<?=$lang?>&idSP="+idSP,
			success:function(json){
				window.location="index.php?view=cart"; // day dung cho giai phap1 thu 3
                                //alert(json);
                        }
		});
            });
            });
        </script>
    </head>
    <body>
        <div class="bg_body">           
            <div class="wrapper">
                <div class="">
                    <div class="banner ofh">
                        <div id="header">
                            <div class="container_24">
                                    <div class="grid_24">
                                        <div class="box_header_cart">                                            
                                        </div>                                        
                                    </div>
                            </div>
                        </div> <a href="#" class="logo"><img width="245" height="65" title=" Webhoa " alt="Webhoa" src="images/store_logo.png"/></a>
                    </div>
                </div><!--end .banner-->
                <div class="menu">
                    <ul>
                        <li><a href="index.php">Trang chủ</a> </li>
                        <li><a href="index.php?view=gioithieu">Giới thiệu</a> </li>
                        <li><a href="index.php">Sản phẩm</a> </li>
                        <li><a href="index.php?view=dichvu">Dịch vụ</a> </li>
                        <li><a href="index.php?view=lienhe">Liên hệ</a> </li>
                    </ul>
                </div><!--end .menu-->
                <div class="c"></div>
                <div class="main">                    
                    <div class="main_left fl">
                        <?php include 'librarys/incs/danhmuchoa.php';
                        include 'librarys/incs/hotrotructuyen.php';
                        ?>
                       
                        <div class="s_box">
                            <div class="c0">
                                <div class="c1">
                                    <div class="c2">
                                        <h3 class="title">Giới thiệu dịch vụ</h3>
                                        <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
                                    </div>
                                </div>
                            </div>
                        </div><!--end .s_box-->
                    </div><!-- end .main_left-->
                    <div class="main_right fr">
                        <?php
                        if($view=='sanphamtheoloai') include 'librarys/incs/sanphamtheoloai.php';
                        elseif($view=='chitietsanpham') include 'librarys/incs/chitiet.php';
                        elseif($view=='cart') include 'librarys/incs/cart.php';
                        elseif($view=='dathang') include 'librarys/incs/dathang.php';
                        elseif($view=='gioithieu') include 'librarys/incs/field.php';
                        elseif($view=='dichvu') include 'librarys/incs/field.php';
                        elseif($view=='lienhe') include 'librarys/incs/field.php';
                        else include 'librarys/incs/sanphammoi.php';
                        ?>
                        
                    </div><!--end .main_right-->
                    <div class="c"></div>
                </div><!--end .main-->
                <?php include 'footer.php'; ?>
            </div><!--end .wrapper-->            
        </div>
    </body>
</html>
